<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/main'); ?>
<?php if (Yii::app()->user->hasFlash('success')): ?>
            <div class="flash-success">
                <?php echo Yii::app()->user->getFlash('success') ?>
            </div>
        <?php endif ?>
        <?php if (Yii::app()->user->hasFlash('error')): ?>
            <div class="flash-error">
                <?php echo Yii::app()->user->getFlash('error') ?>
            </div>
        <?php endif ?>
<div class="span1">
    <a class="btn btn-primary" href="<?php echo Yii::app()->createUrl('dashboard/index') ?>"><i class="icon-white icon-arrow-left"></i>  <?php echo Yii::t('content','Dashboard'); ?> </a>
</div>
<div class="span10">
	<div id="content">
		<?php echo $content; ?>
	</div><!-- content -->
</div>

<?php $this->endContent(); ?>